home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / cat.z / cat
Encoding:
Text File  |  2002-10-03  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ccccaaaatttt((((1111))))                                                                  ccccaaaatttt((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _cccc_aaaa_tttt - concatenate and print files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _cccc_aaaa_tttt [_----_nnnn] [_----_uuuu] [_----_ssss] [_----_vvvv [_----_tttt] [_----_eeee]] _f_i_l_e . . .
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _cccc_aaaa_tttt reads each _f_i_l_e in sequence and writes it on the standard output.
  16.      Thus
  17.  
  18.           _cccc_aaaa_tttt _ffff_iiii_llll_eeee
  19.  
  20.      prints the contents of _ffff_iiii_llll_eeee on your terminal, and
  21.  
  22.           _cccc_aaaa_tttt _ffff_iiii_llll_eeee_1111 _ffff_iiii_llll_eeee_2222 _>>>>_ffff_iiii_llll_eeee_3333
  23.  
  24.      concatenates _ffff_iiii_llll_eeee_1111 and _ffff_iiii_llll_eeee_2222, and writes the results in _ffff_iiii_llll_eeee_3333.  If no
  25.      input file is given, or if the argument _---- is encountered, _cccc_aaaa_tttt reads from
  26.      the standard input.  _cccc_aaaa_tttt processes supplementary code set characters
  27.      according to the locale specified in the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE environment variable
  28.      (see _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)).
  29.  
  30.      The following options apply to _cccc_aaaa_tttt:
  31.  
  32.      _----_nnnn   Prepend each line with its line number.
  33.  
  34.      _----_uuuu   The output is not buffered.  (The default is buffered output.)
  35.  
  36.      _----_ssss   _cccc_aaaa_tttt is silent about non-existent files.
  37.  
  38.      _----_vvvv   Causes non-printing characters (with the exception of tabs, new-
  39.           lines, and form-feeds) to be printed visibly.  ASCII control
  40.           characters (octal 000 - 037) are printed as _^^^^_n, where _n is the
  41.           corresponding ASCII character in the range octal 100 - 137 (@, A, B,
  42.           C, . . ., X, Y, Z, [, \, ], ^, and _); the DEL character (octal
  43.           0177) is printed _^^^^_????.  Other non-printable characters are printed as
  44.           _MMMM_----_x, where _x is the ASCII character specified by the low-order seven
  45.           bits.  All supplementary code set characters are considered to be
  46.           printable.
  47.  
  48.      The following options may be used with the _----_vvvv option:
  49.  
  50.      _----_tttt   Causes tabs to be printed as _^^^^_IIII's and formfeeds to be printed as
  51.           _^^^^_LLLL's.
  52.  
  53.      _----_eeee   Causes a _$$$$ character to be printed at the end of each line (prior to
  54.           the new-line).
  55.  
  56.      The _----_tttt and _----_eeee options are ignored if the _----_vvvv option is not specified.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccaaaatttt((((1111))))                                                                  ccccaaaatttt((((1111))))
  71.  
  72.  
  73.  
  74. FFFFIIIILLLLEEEESSSS
  75.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee_...._aaaa_bbbb_iiii
  76.  
  77.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_ssss_gggg_iiii_cccc_oooo_rrrr_eeee
  78.           language-specific message file (See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn (5)).
  79.  
  80. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  81.      cp(1), pg(1), pr(1).
  82.  
  83. NNNNOOOOTTTTEEEESSSS
  84.      Redirecting the output of _cccc_aaaa_tttt onto one of the files being read will cause
  85.      the loss of the data originally in the file being read.  For example,
  86.  
  87.           _cccc_aaaa_tttt _ffff_iiii_llll_eeee_1111 _ffff_iiii_llll_eeee_2222 _>>>>_ffff_iiii_llll_eeee_1111
  88.  
  89.      causes the original data in _ffff_iiii_llll_eeee_1111 to be lost.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.